package com.log.james.entity;

import java.util.Date;

public class Events {
    private long id;
    private Date stime;
    private Date etime;
    private long value;
    private int type;
    private String description;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getStime() {
        return stime;
    }

    public void setStime(Date stime) {
        this.stime = stime;
    }

    public Date getEtime() {
        return etime;
    }

    public void setEtime(Date etime) {
        this.etime = etime;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Events{" +
                "id=" + id +
                ", stime=" + stime +
                ", etime=" + etime +
                ", value=" + value +
                ", type=" + type +
                ", description='" + description + '\'' +
                '}';
    }
}
